sort: externalsort.cpp externalsort.h main.cpp test.cpp Makefile
	g++ -Werror -g -O2 externalsort.cpp main.cpp -o sort
	g++ -Werror -g -O2 test.cpp -o test
clean:
	rm -rf sort
	rm -rf test
